package com.kotlin.baselib.ui

import android.os.Bundle
import com.kotlin.baselib.presenter.BasePresenter
import com.kotlin.baselib.presenter.view.BaseView
import com.kotlin.baselib.widgets.ProgressLoading


abstract class BaseMvpActivity<T:BasePresenter<*>> :BaseActivity(),BaseView {

    lateinit var mPresenter:T
    lateinit var mLoadDialog:ProgressLoading

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        mLoadDialog = ProgressLoading.create(this)
    }
}